﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CSharp.Libs.Koc.Models
{
    public class UserValidatorItem
    {
        public UserValidatorItem()
        {
            FbUid = "";
            UserIsValid = false;
            LastCheckedTimestamp = 0;
            //PlayerName = "";
        }

        public UserValidatorItem(
            string strFbUid,
            bool fUserIsValid,
            int intLastCheckedTimestamp)
        {
            FbUid = strFbUid;
            UserIsValid = fUserIsValid;
            LastCheckedTimestamp = intLastCheckedTimestamp;
            //PlayerName = "";
        }

        //public UserValidatorItem(
        //    string strFbUid,
        //    bool fUserIsValid,
        //    int intLastCheckedTimestamp,
        //    string strPlayerName) : this(strFbUid,fUserIsValid,intLastCheckedTimestamp)
        //{
        //    PlayerName = strPlayerName;
        //}

        public string FbUid { get; set; }
        public bool UserIsValid { get; set; }
        public int LastCheckedTimestamp { get; set; }
        //public string PlayerName { get; set; }
        //public string FbUidPlayerName
        //{
        //    get
        //    {
        //        return string.Concat(FbUid, " - ", PlayerName);
        //    }
        //}
    }
}
